package com.wpf.system.mapper;

import com.wpf.system.entity.Asset;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author ferna
* @description 针对表【asset(用户资产表)】的数据库操作Mapper
* @createDate 2023-01-02 11:26:26
* @Entity com.wpf.system.entity.Asset
*/
public interface AssetMapper extends BaseMapper<Asset> {
    /**
     * 通过用户id查找其资产信息
     * @param uid 用户id
     * @return 资产信息
     */
    Asset getAssetByUid(@Param("uid") Long uid);
}




